Program Complexity Using Hierarchical Abstract Computers

نویسندگان

  • William G. Bail
  • Marvin V. Zelkowitz
چکیده

There is currently interest in measuring the complexity of a computer program with the evaluation of a program's control structure via its flowgraph representation. 1,2 How~ ever, the inclusion of the effects of data on these measures is often lacking. This paper proposes a new measure of program complexity that attempts to identify regions of lo~ cality by combining a contro~ structure approach with infor~ mation about data usage to get a valid measure of overall program complexity. The need for objective measures of program structure is important if the area of programming language design and implementation is to take on a more formal basis from the ad hoc techniques currently used. This work is related to that of Hellerman,3 Savage,4.5 and Chaitin in that the complexity of an algorithm is defined as the number of bits in the algorithm's representation, i.e., the number of bits in a program implementing the algorithm. A program implementing a given algorithm is considered to be better than another program implementing the same al~ gorithm if it has fewer bits in its representation. In order to provide a standardized representation for algorithms, the concept of a Hierarchical Abstract Computer is defined (HAC). Based on a primitive~level HAC, hierarchical levels of HAC modules are used to specify the structures and sequences of a specific algorithm. The modules are chosen according to the concept of a Prime Program Parse, 7 which defines a particular, unique sequence of subroutine decom~ positions from an original flowgraph representation of an

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Applying AI Techniques to Program Optimization for Parallel Computers

TIIis paper describes an experiment of integrating expert systems technology and advanced compiler optimization teclmiques to the problem of paralIelizing programs for different classes of parallel computers. Our approach to solve the problem is to separate machine features from programming heuristics and organize the program parallelization knowledge in a hierarchical structure which we called...

متن کامل

A decomposition method for synthesizing complex column configurations using tray-by-tray GDP models

Abstract This paper describes an optimization procedure for the synthesis of complex distillation configurations. A superstructure based on the Reversible Distillation Sequence Model (RDSM) is proposed embedding all possible alternative designs using tray-by-tray models. Generalized Disjunctive Programming (GDP) is used to model the superstructure. Due to the large size and complexity of the fo...

متن کامل

A hierarchical solution approach for a multicommodity distribution problem under a special cost structure

Motivated by the spare parts distribution system of a major automotive manufacturer in Turkey, we consider a multicommodity distribution problem from a central depot to a number of geographically dispersed demand points. The distribution of the items is carried out by a set of identical vehicles. The demand of each demand point can be satisfied by several vehicles and a single vehicle is allowe...

متن کامل

Complexity Science and Representation in Robot Soccer

Complexity science is characterised by computational irreducibility, chaotic dynamics, combinatorial explosion, co-evolution, and multilevel lattice hierarchical structure. One of its main predictive tools is computer-generated distributions of possible future system states. This assumes that the system can be represented inside computers. Robot soccer provides an excellent laboratory subject f...

متن کامل

A hierarchical approach for the synthesis of batch water network

This work addresses the problem of synthesising cost-effective batch water networks where a number of process sources along with fresh water are mixed, stored, and assigned to process sinks. In order to address the complexity of the problem, a three-stage hierarchical approach is proposed. In the first stage, global targets are identified by formulating and solving a linear transportation probl...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Comput. Lang.

دوره 13  شماره 

صفحات  -

تاریخ انتشار 1988